a = eval(input("请输入数字："))
b = int(a)
for i in range(b+1):
    for n in range(b-i):
        print(" ", end="")
    for m in range(2*i-1):
        print("*", end="")
    print()

